<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/7/27
 * Time: 15:13
 */

namespace Home\Model\UserWeixin;


use Think\Model;

class UserWeixinModel extends Model
{
    public function getWeixinId($user_id)
    {
        $map['user_id'] = $user_id;
        return $this->where($map)->field('weixin_id')->find();
    }
}